<div align="center">
<br/>
<form action="<?php if( isset( $action ) ) echo $action; ?>" method="POST">
	<table style="font-family: verdana; color: #000; font-size:11px;">
	<tr>
		<td><label>Student Number:</label></td>
		<td><input name="stud_no" type="text" maxlength="20" size="24" value="<?php if( isset( $studno ) ) echo $studno ?>" />
			<font size="1"><label>e.g. 200710000</label></font></td>
	</tr>
	<tr>
		<td><label>Password:</label></td>
		<td><input name="password" type="password" maxlength=10 value="<?php if( isset( $password ) ) echo $password ?>" />
			<font size="1"><label>atleast 6 characters</label></font></td>
	</tr>
	<tr>
		<td><label>Last Name:</label></td>
		<td><input name="lastname" type="text" value="<?php if( isset( $lastname ) ) echo $lastname ?>" /></td>
	</tr>
	<tr>
		<td><label>First Name:</label></td>
		<td><input name="firstname" type="text" value="<?php if( isset( $firstname ) ) echo $firstname ?>" /></td>
	</tr>
	<tr>
		<td><label>Middle Name:</label></td>
		<td><input name="middlename" type="text" value="<?php if( isset( $middlename ) ) echo $middlename ?>" /></td>
	</tr>
	<tr>
		<td><label>User type:</label></td>
		<td><select name="admin">
				<option value="0">Student</option>
			</select>
		</td>
	</tr>
	<tr>
		<td><label>Email:</label></td>
		<td><input name="email" type="text" value="<?php if( isset( $email) ) echo $email ?>" />
			<font size="1"><label>e.g. johndoe@email.com</label></font></td>
	</tr>
	<tr>
		<td><input id="btnSubmit" type="submit" name="Submit" value="Save"/></td>
	</tr>
	</table>
</form>
</div>